home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / _bbs / wc30 / all.bat < prev    next >
DOS Batch File  |  1996-04-15  |  778b  |  34 lines

  1. REM  To run this one batch file, change it here also.
  2. if .%CDROM% == . goto cd_not_set
  3. goto cd_set
  4. :cd_not_set
  5. goto end
  6. :cd_set
  7.  
  8. set output=%CDROM%\_bbs\wc30
  9.  
  10. REM  I set this globally, in ..\all.bat
  11. REM  To run this one batch file, change it here also.
  12. if .%in_type% == . goto not_set
  13. goto set
  14. :not_set
  15. echo in_type not set
  16. goto exit
  17. :set
  18.  
  19. rem you shouldn't have to change anything below this.
  20.  
  21. REM  This is the foreign language stuff.  the default extension is
  22. REM  ".txt"
  23. if .%in_language% == . goto not_set2
  24. goto set2
  25. :not_set2
  26. set in_language=txt
  27. :set2
  28.  
  29. del logfile
  30. del %output%\allfiles.%in_language%
  31.  
  32. %cdrom%\_bbs\each_dir 1    %cdrom%\_bbs\dirs.%in_language%   doit2
  33. %cdrom%\_bbs\each_dir 1    %cdrom%\_bbs\dirs.%in_language%   doit
  34. :exit